package comm.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
@Configuration
@Service
public class GroupBean {

    @Value("${server.host}")
    private String serverhost;

    @Value("${server.prot}")
    private int serverprot;

    public String getserverhost() {
        return serverhost;
    }

    public int getprot(){
        return serverprot;
    }
}